package io.aggression.IcebergHeat.util;

import android.content.SharedPreferences;


public class RunningConfig {



        public static final String APP_SHARED_PREFS_NAME = "AGGRESSION";

        private static RunningConfig config = null;
        private static SharedPreferences settings = null;


        static {
                if(config == null){

                        config = new RunningConfig();

                }
        }


        public static String getUserName(){
                return settings.getString("USER",null);
        }


        public static void setPrefs(SharedPreferences preferences) {
                settings = preferences;
        }
}
